﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RbacPermissionSystem.Domain
{
    public class AuditFields
    {
        /// <summary>
        /// 添加人
        /// </summary>
        [MaxLength(50)]
        public string CreaterName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime CreaterTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        [MaxLength(50)]
        public string UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        [MaxLength(50)]
        public string DeletedName { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedTime { get; set; }
    }
}
